Concretise submonoid - #43611
Concretise submonoid#43611grunweg wants to merge 26 commits into
Conversation
PR summary 1201efd6e5Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
7c57dd1 to
a3d0c6d
Compare
|
I believe some problems are caused by current partial change (still using |
|
around half of problems can be solved by an additional |
That's very possible; I tried to do incremental changes. Do you have an example in mind which definitions (or lemmas) should be changed? Or do you mean that the fix should often be to use |
It's more like choosing a normal form. Since instance synthesis don't see the two forms I also did a minimal change to make mathlib build. Lots of |
|
I accidentally pushed some changes related to removing coe to this PR. Opened #43765. |
4901355 to
4f50f89
Compare
668f104 to
1201efd
Compare
Following [#mathlib4 > Mathlib's morphism hierarchy](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Mathlib.27s.20morphism.20hierarchy/with/554383157) item 2, rename `MonoidHomClass.toMonoidHom` to `MonoidHom.ofClass`. Lemmas with name `coe_monoidHom_foo` and `coe_addMonoidHom_foo` (related to simp normal form) are temporarily renamed to `ofClass_monoidHom_foo` and `ofClass_addMonoidHom_foo`. They will be renamed to `toMonoidHom_foo` `toAddMonoidHom_foo` once we moved the `coe` from `.ofClass f` to `f.toMonoidHom`. This is in parallel with #43611 (refactoring definitions from taking `MonoidHomClass` to taking `MonoidHom`).
|
This pull request has conflicts, please merge |
Helps with #31365.